package org.shop.service.impl;

import java.util.List;
import java.util.Map;

import org.shop.dao.PostInfoMapper;
import org.shop.entity.PostInfo;
import org.shop.service.ForumService;
import org.shop.service.base.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ForumServiceImpl extends BaseServiceImpl<PostInfo, Long> implements ForumService{
	
	@Autowired
	private PostInfoMapper postInfoMapper;
	
	public List<Map<String, Object>> getPostMessageList(Map<String, Object> params){
		return postInfoMapper.getPostMessageList(params);
	}
	
	public Map<String, Object> getPostDetails(Map<String, Object> params){
		return postInfoMapper.getPostDetails(params);
	}
	
}